/**
 * MasicMember
 * <p/>
 * User: joakimd
 * Date: 2013-03-11
 * Time: 11:17
 */
package org.dru.masic {
public class MasicMember extends MasicObject {
    private var _parent: MasicComponent;

    public function MasicMember(parent: MasicComponent, name: String) {
        if (parent == null) {
            throw new Error("null parent");
        }
        _parent = parent;
        setName(name);
    }

    public final function get parent(): MasicComponent {
        return _parent;
    }
}
}
